﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="EuroAudit.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <script type="text/javascript" language="javacript">
        <!--

        function RefreshIndex()
        {
           //On Error Resume Next
            //top.frames.contents.location = "index.aspx";
            //top.frames.main.location = "Login.aspx";
           //Parent.frames("top").location.href = "top.aspx"
       }

        -->
    </script>
<head runat="server">
    <title>Index</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body class="PageIndex">
    <div class="IndexTop" style="z-index:1">
        <img src="Images/IndexBg.png" alt="" width="100%" height="100%" />
    </div>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <input id="ViewID1" type="hidden" />

    <div class="IndexContent" >
        <p>
            <div align="center">
                <asp:Button ID="cmdAuth" runat="server" Text="Autorizācija" CssClass="cmdEdit" 
                    onclick="cmdAuth_Click" style="z-index: 4" OnClientClick="RefreshIndex()" />
            </div>
        </p>
        <p>
            <asp:UpdatePanel ID="upAlert" runat="server">
                <ContentTemplate>
                    <div align="center">
                        <asp:ImageButton ID="cmdAlert" runat="server" Text="Uzmanību"
                            OnClick="cmdAlert_Click" Style="z-index: 5" ImageAlign="AbsMiddle" 
                            AlternateText="Brīdinājums" Visible="False" />
                    </div>
                    <asp:Timer ID="tAlert" runat="server" Interval="10000" OnTick="Timer_Tick">
                    </asp:Timer>
                </ContentTemplate>
            </asp:UpdatePanel>

        </p>
        <asp:TreeView ID="tvContent" runat="server" 
            onselectednodechanged="tvContent_SelectedNodeChanged" NodeWrap="True" 
            Width="100%" CssClass="Tree">
            <SelectedNodeStyle CssClass="TreeNodeActive" />
            <NodeStyle CssClass="TreeNode" HorizontalPadding="20px" NodeSpacing="1px" />
        </asp:TreeView>
    


        <br />
        <asp:TextBox ID="ViewID" runat="server" Visible="False"></asp:TextBox>
        <asp:TextBox ID="ViewParam" runat="server" Visible="False"></asp:TextBox>
        <asp:TextBox ID="NodePath" runat="server" Visible="False"></asp:TextBox>

    <p>
        <a href="http://validator.w3.org/check?uri=referer"><img
            src="http://www.w3.org/Icons/valid-xhtml10-blue"
            alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
    </p>
    </div>
    <div class="Auth" style="z-index:3">

    </div>
    </form>
    <div class="IndexBottom" style="z-index:2">
        <img src="Images/IndexBottom.png" alt="" width="100%" style="z-index: 11" />
    </div>
    </body>
</html>
